package cn.kgc.client;

import cn.kgc.base.vo.OrderSpuInfoVo;
import cn.kgc.commons.vo.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.HashSet;
import java.util.Map;

/**
 * <p></p>
 *
 * @author 李孟鸠
 * @Date: 2023年01月03日9:55
 */
@FeignClient(value = "mall-pms",path = "pms",fallback = PmsFeignClientImpl.class)
public interface PmsFeignClient {
    @PostMapping("/spuInfo/getOrderSpuInfo")
    Result<Map<Long, OrderSpuInfoVo>>getOrderSpuInfo(@RequestBody HashSet<Long> spuIdSet);
}
